--baseapp的初始化脚本

local function add_package_path(sub_dir)
    package.path = package.path..";"..G_LUA_ROOTPATH.."/"..sub_dir.."/?.lua"
    package.path = package.path..";"..G_LUA_ROOTPATH.."/"..sub_dir.."/?.luac"
end

add_package_path("base")
-- After package.path.
require("init_base_services")
require("base_event_handler").register_all()
require("init_rpc_router").init()
